import java.util.Random;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2023-06-27
 * Time: 14:30
 */
public class test {
 /*   public static void main(String[] args) {
        //System.out.println("\\\"hello\\\"");
        //System.out.println("\\"hello\\"");
        //System.out.println("/\"hello/\"");
*//*        int i = 0;
        while(i <= 10){
            System.out.println(i);
            i++;
        }*//*

   *//*     int i = 1;
        int sum = 0;
        while (i <= 100){
            sum += i;
            i++;
        }
        System.out.println(sum);*//*

*//*        int i = 1;
        int sum = 0;
        while (i <= 100){
            sum += i;
            i+=2;
        }
        System.out.println(sum);*//*

*//*        int i = 1;
        int sum = 0;
        while (i <= 100){
            if(i % 2 != 0){
                sum += i;
            }
            i++;
        }
        System.out.println(sum);*//*

*//*        int i = 0;
        int sum = 0;
        while (i <= 100){
            sum += i;
            i+=2;
        }
        System.out.println(sum);*//*

     *//*   int i = 1;
        int sum = 0;
        while (i <= 100){
            if(i % 2 == 0){
                sum += i;
            }
            i++;
        }
        System.out.println(sum);*//*


*//*        int num = 1;
        int sum = 1;
        int ret = 0;
        while (num <= 5){
            sum *= num;
            ret += sum;
            num++;
        }
        System.out.println(ret);*//*

*//*        int i = 1;
        while (i <= 10){
            if(i % 3 == 0){
                System.out.println(i);
                break;
            }
            i++;
        }*//*

    *//*    int i = 1;
        while (i <= 100){
            if(i % 3 == 0){
                if(i % 5 == 0){
                    System.out.println(i);
                }
            }
            i++;
        }*//*
*//*        int i = 1;
        while (i <= 100){
            if(i % 30 != 0){
                i++;
                continue;
            }
            System.out.println(i);
            i++;
        }*//*

*//*        int sum = 0;
        for (int i = 1; i <= 5 ; i++) {
            int ret = 1;
            for (int j = 1; j <= i ; j++) {
                ret *= j;
            }
            sum += ret;
        }
        System.out.println(sum);

 *//*
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int i = 1;
        while (i <= a){
            System.out.println(i);
            i++;
        }
    }*/

/*    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        Random random = new Random();
        int randNum = random.nextInt(100);
        System.out.println(randNum);
        System.out.println("======================");
        while (true){
            int n = scan.nextInt();
            if(n < randNum){
                System.out.println("猜小了!");
            }else if(n == randNum){
                System.out.println("猜对了!");
                break;
            }else{
                System.out.println("猜大了!");
            }
        }
    }*/

    public static void main(String[] args) {
  /*      Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int i = 2;
        for(;i<a;i++){
            if(a % i == 0){
                System.out.println("不是素数");
                break;
            }
        }
        if(i == a){
            System.out.println("是素数");
        }*/

/*        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int i = 2;
        for(;i<=Math.sqrt(a);i++){
            if(a % i == 0){
                System.out.println("不是素数");
                break;
            }
        }
        if(i > Math.sqrt(a)){
            System.out.println("是素数");
        }*/

/*        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int i = 2;
        for(;i<= a/2;i++){
            if(a % i == 0){
                System.out.println("不是素数");
                break;
            }
        }
        if(i > a/2){
            System.out.println("是素数");
        }*/

        int count = 0;
        for ( int i = 2; i <= 100 ; i++) {
            for (int j = 2; j <= i; j++) {
                if(i % j ==0 && i != j){
                    break;
                }
                if(j == i){
                    System.out.println(i);
                    count++;
                }
            }
        }
        System.out.println(count);
    }
}
